package com.twu.biblioteca.models;

/**
 * Created with IntelliJ IDEA.
 * User: arvind
 * Date: 22/9/13
 * Time: 11:06 AM
 * To change this template use File | Settings | File Templates.
 */
public class Book {
    private String name;
    private String ISBN;
    private String bookID;

    public  Book(String bookID,String name,String ISBN)
    {
        setBookID(bookID);
        setName(name);
        setISBN(ISBN);
    }
    public String getName() {
        return name;
    }

    public String getISBN() {
        return ISBN;
    }

    private void setName(String name) {
        this.name = name;
    }

    private void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }

    public String getBookDetails()
    {
        StringBuffer response=new StringBuffer();
        String status;
        response.append("Book ID : "+getBookID()+"\n");
        response.append("Book Name : "+getName()+"\n");
        response.append("ISBN : "+getISBN()+"\n");


        return response.toString();
    }

    public String getBookID() {
        return bookID;
    }

    private void setBookID(String bookID) {
        this.bookID = bookID;
    }


}
